package com.guomei.constans;

/**
 * 题目类型相关常量
 */
public enum QuestionTypeCode {
    /**
     * 客观题
     */
    OBJECTIVE(1, "客观题"),

    /**
     * 主观题
     */
    SUBJECTIVE(2, "主观题");

    private final int code;
    private final String description;

    QuestionTypeCode(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
